package Linkedlist;

import java.util.LinkedList;

public class test {
    public static void main(String[] args) {
        MyLinkedlist myLinkedlist=new MyLinkedlist();
        myLinkedlist.addFirst(1);
        myLinkedlist.addFirst(1);
        myLinkedlist.addFirst(1);
        myLinkedlist.addFirst(1);
        myLinkedlist.addFirst(1);
//        myLinkedlist.display();
//        System.out.println();
//        System.out.println(myLinkedlist.size());
//        myLinkedlist.addIndex(5,20);
//        System.out.println();
//        myLinkedlist.display();
            myLinkedlist.clear();
            myLinkedlist.display();


    }
}
